package com.xiweicheng.test.springcloud.ms.a;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "ms-c", fallback = HelloServiceFallback.class)
public interface HelloService {

    @RequestMapping("/hello")
    String hello(@RequestParam("sleep") int sleep);

    @RequestMapping("/none")
    String none();
}
